// nodejs 17.0以上版本报错ERR_OSSL_EVP_UNSUPPORTED临时解决方案：
// export NODE_OPTIONS=--openssl-legacy-provider
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import { postRequest } from "./utils/api.js";
import { putRequest } from "./utils/api.js";
import { getRequest } from "./utils/api.js";
import { deleteRequest } from "./utils/api";


Vue.config.productionTip = false
Vue.use(ElementUI)

Vue.prototype.postRequest=postRequest;
Vue.prototype.putRequest=putRequest;
Vue.prototype.getRequest=getRequest;
Vue.prototype.deleteRequest=deleteRequest;

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
